﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShuiZiYSJPLTZ.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS.JiChuXX.ShuiZiYSJPLTZ"  Theme="Default" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="../../../../JS/jquery.js"></script>
     <script src="../../../../JS/AddEditCancel.js"></script>

    <script type="text/javascript">
        //function adujst() {
        //    var oldsj = cmbYuanShuiJ.GetText();
        //    var newsj = txtXinShuiJ.GetText();
        //    if (confirm("确认要调整水价吗？")) {
        //        hdCollection.Set("oldsj", oldsj);
        //        hdCollection.Set("newsj", newsj);
        //        //alert(oldsj);
        //        //debugger;
        //        ASPxCallback1.PerformCallback("adjust");
        //    }
        //}

        //function ASPxCallback1Complete(rs) {
        //    var arr = rs.split('|');
        //    var type = arr[0];
        //    var state = arr[1];
        //    if (type == "adjust") {
        //       // alert(arr[2]);
        //        if (parseInt(arr[2]) > 0) {
        //            alert("调整成功！");
        //            cmbYuanShuiJ.Items.Clear();
        //            ASPxCallback1.PerformCallback("reload");
        //        }
        //    }
        //}
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
           水资源水价批量调整
        </div>
        <%--<dx:ASPxHiddenField ID="hdCollection" ClientInstanceName="hdCollection" runat="server"></dx:ASPxHiddenField>
        <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){ASPxCallback1Complete(e.result);}"></dx:ASPxCallback>
        --%>
        <div style="height: 3px;"></div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div style="text-align:center; margin-left:30%; margin-right:20%">
                    <table style="width:60%; height:100px;">
                        <tr>
                            <td>原水资源水价</td>
                            <td>
                                <asp:Panel runat="server" ID="Panel13">
                                    <dx:ASPxComboBox runat="server" ID="cmbYuanShuiJ" Width="80%" ClientInstanceName="cmbYuanShuiJ" DisplayFormatString="0.00">
                                        
                                        <ClientSideEvents />
                                    </dx:ASPxComboBox>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td>新水资源水价</td>
                            <td>
                                <dx:ASPxTextBox runat="server" ID="txtXinShuiJ" Width="80%" ClientInstanceName="txtXinShuiJ">
                                    <ClientSideEvents />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <dx:ASPxButton runat="server" Text="调整" ID="btnTiaoZheng" ClientInstanceName="btnTiaoZheng" OnClick="btnTiaoZheng_Click">
                                    <%--<ClientSideEvents  Click="function(s,e){adujst();}"/>--%>
                                </dx:ASPxButton>
                            </td>
                             <td>
                                <dx:ASPxButton runat="server" Text="放弃" ID="btnFangQi" OnClick="btnFangQi_Click"></dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
